'use strict';

function collect_last_element(collection) {
    var i=collection.length-1;
    var result=collection[i];
    return result;
  }

module.exports = collect_last_element;
